﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012F7 RID: 4855
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRogueFinishScNotify : IMessage<SyncRogueFinishScNotify>, IMessage, IEquatable<SyncRogueFinishScNotify>, IDeepCloneable<SyncRogueFinishScNotify>, IBufferMessage
	{
		// Token: 0x17003D4C RID: 15692
		// (get) Token: 0x0600D961 RID: 55649 RVA: 0x00246BAD File Offset: 0x00244DAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRogueFinishScNotify> Parser
		{
			get
			{
				return SyncRogueFinishScNotify._parser;
			}
		}

		// Token: 0x17003D4D RID: 15693
		// (get) Token: 0x0600D962 RID: 55650 RVA: 0x00246BB4 File Offset: 0x00244DB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRogueFinishScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D4E RID: 15694
		// (get) Token: 0x0600D963 RID: 55651 RVA: 0x00246BC6 File Offset: 0x00244DC6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRogueFinishScNotify.Descriptor;
			}
		}

		// Token: 0x0600D964 RID: 55652 RVA: 0x00246BCD File Offset: 0x00244DCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueFinishScNotify()
		{
		}

		// Token: 0x0600D965 RID: 55653 RVA: 0x00246BD5 File Offset: 0x00244DD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueFinishScNotify(SyncRogueFinishScNotify other) : this()
		{
			this.rogueFinishInfo_ = ((other.rogueFinishInfo_ != null) ? other.rogueFinishInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D966 RID: 55654 RVA: 0x00246C0A File Offset: 0x00244E0A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueFinishScNotify Clone()
		{
			return new SyncRogueFinishScNotify(this);
		}

		// Token: 0x17003D4F RID: 15695
		// (get) Token: 0x0600D967 RID: 55655 RVA: 0x00246C12 File Offset: 0x00244E12
		// (set) Token: 0x0600D968 RID: 55656 RVA: 0x00246C1A File Offset: 0x00244E1A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueFinishInfo RogueFinishInfo
		{
			get
			{
				return this.rogueFinishInfo_;
			}
			set
			{
				this.rogueFinishInfo_ = value;
			}
		}

		// Token: 0x0600D969 RID: 55657 RVA: 0x00246C23 File Offset: 0x00244E23
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRogueFinishScNotify);
		}

		// Token: 0x0600D96A RID: 55658 RVA: 0x00246C31 File Offset: 0x00244E31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRogueFinishScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.RogueFinishInfo, other.RogueFinishInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D96B RID: 55659 RVA: 0x00246C64 File Offset: 0x00244E64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueFinishInfo_ != null)
			{
				num ^= this.RogueFinishInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D96C RID: 55660 RVA: 0x00246CA0 File Offset: 0x00244EA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D96D RID: 55661 RVA: 0x00246CA8 File Offset: 0x00244EA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D96E RID: 55662 RVA: 0x00246CB1 File Offset: 0x00244EB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueFinishInfo_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.RogueFinishInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D96F RID: 55663 RVA: 0x00246CE4 File Offset: 0x00244EE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueFinishInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueFinishInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D970 RID: 55664 RVA: 0x00246D24 File Offset: 0x00244F24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRogueFinishScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueFinishInfo_ != null)
			{
				if (this.rogueFinishInfo_ == null)
				{
					this.RogueFinishInfo = new RogueFinishInfo();
				}
				this.RogueFinishInfo.MergeFrom(other.RogueFinishInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D971 RID: 55665 RVA: 0x00246D78 File Offset: 0x00244F78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D972 RID: 55666 RVA: 0x00246D84 File Offset: 0x00244F84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 106U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.rogueFinishInfo_ == null)
					{
						this.RogueFinishInfo = new RogueFinishInfo();
					}
					input.ReadMessage(this.RogueFinishInfo);
				}
			}
		}

		// Token: 0x0400567F RID: 22143
		private static readonly MessageParser<SyncRogueFinishScNotify> _parser = new MessageParser<SyncRogueFinishScNotify>(() => new SyncRogueFinishScNotify());

		// Token: 0x04005680 RID: 22144
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005681 RID: 22145
		public const int RogueFinishInfoFieldNumber = 13;

		// Token: 0x04005682 RID: 22146
		private RogueFinishInfo rogueFinishInfo_;
	}
}
